/* assets/css/pages/home/services.css */

.services-modern {
    background: #000000;
    padding: 150px 0;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
}

.services-wrapper {
    max-width: 1300px; /* Fixed width to prevent sticking to edges */
    margin: 0 auto;
    padding: 0 40px;
}

/* Header Improvement */
.services-main-header {
    margin-bottom: 100px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}

.sec-index { color: #8b2cf5; font-weight: 900; font-size: 1rem; }
.sec-title { font-size: 2.5rem; letter-spacing: 4px; margin: 0; font-weight: 900; }

.header-line {
    width: 100px;
    height: 2px;
    background: #8b2cf5;
}

/* Grid Design */
.services-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Card Modern Look */
.cap-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 50px 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.cap-card:hover {
    background: rgba(139, 44, 245, 0.03);
    border-color: rgba(139, 44, 245, 0.3);
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.cap-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.cap-led { width: 8px; height: 8px; border-radius: 50%; background: #222; }
.cap-id { font-size: 0.65rem; color: rgba(255,255,255,0.25); letter-spacing: 2px; }

/* Blinking LEDs on Hover */
.red-theme:hover .cap-led { background: #ff4d4d; box-shadow: 0 0 12px #ff4d4d; }
.blue-theme:hover .cap-led { background: #0070ff; box-shadow: 0 0 12px #0070ff; }
.purple-theme:hover .cap-led { background: #8b2cf5; box-shadow: 0 0 12px #8b2cf5; }

.cap-name { font-size: 1.25rem; margin-bottom: 25px; letter-spacing: 1px; }

.cap-divider {
    width: 30px; height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 30px;
}

.cap-specs {
    list-style: none; padding: 0; margin: 0;
}

.cap-specs li {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 15px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.cap-card:hover .cap-specs li { color: rgba(255,255,255,0.8); }

/* Footer Action */
.services-action {
    margin-top: 100px;
    text-align: center;
}

.action-btn {
    text-decoration: none;
    color: #8b2cf5;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 2px;
    transition: 0.3s;
}

.action-btn:hover { color: #fff; text-shadow: 0 0 20px #8b2cf5; }

/* Responsive */
@media (max-width: 1100px) {
    .services-grid-layout { grid-template-columns: 1fr; }
    .services-main-header .sec-title { font-size: 1.8rem; }
}